package com.entrogy.dao;

import com.entrogy.bean.ProvinceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface ProvinceMapper {

	@Select("select * from admindivison where parent_id = #{code}")
	List<ProvinceEntity> getCityByProvince(@Param(value = "code") int provinceId);
}
